package com.mathlearning.auth.repository;

import com.mathlearning.auth.entity.DailyProblem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.Optional;

@Repository
public interface DailyProblemRepository extends JpaRepository<DailyProblem, Long> {
    Optional<DailyProblem> findByDate(LocalDate date);
}









